package com.ponhu.ea2.goodsCenter.provider.mapper;

import com.ponhu.ea2.entity.PhProperty;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ponhu.ea2.vo.PhPropertyEditVo;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * 属性表  Mapper 接口
 *
 * @author ${author}
 * @since 2021-10-19
 */
public interface PhPropertyMapper extends BaseMapper<PhProperty> {


    List<PhPropertyEditVo> getPropValuesByCategoryIds(@Param("propType") Integer propType,
                                                      @Param("categoryIds") Collection<Long> categoryIds);

}
